<div ng-if="pagedata.account.hdps && pagedata.account.hdps.length>0" id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
	<div class="carousel-inner" role="listbox" style="height:auto">
		<div ng-repeat="banner in pagedata.account.hdps" ng-class="{'item':true,'active':$index==0}">
			<a href="{{banner.url}}">
				<img ng-src="{{tomedia(banner.picurl)}}" style="display: block; width: 100%; height: auto;"/>
			</a>
		</div>
	</div>
	<style>
            .fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
            .fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
    </style>
	<div id="carousel-jinyun" class=" fui-swipe-page {dotalign} {dotstyle}" style="padding: 0 {leftright}px; bottom: {bottom}px; ">
		<div class="fui-swipe-bullet" ng-repeat="banner in pagedata.account.hdps" data-target="#carousel-container" data-slide-to="{{$index}}" ng-class="{'active':$index==0}"></div>
	</div>
</div>
<script>
	require(['bootstrap', 'hammer'], function($, Hammer){
		$('#carousel-container').carousel();
		var mc = new Hammer($('#carousel-container').get(0));
		mc.on("panleft", function(ev) {
			$('#carousel-container').carousel('next');
		});
		mc.on("panright", function(ev) {
			$('#carousel-container').carousel('prev');
		});
	});
</script>
<div class="fui-tab fui-tab-danger">
    <a ng-class="{'external':1,'active':pagedata.abouts==0}" href="javascript:;" ng-click="pagedata.abouts=0">联系我们</a>
	<a ng-class="{'external':1,'active':pagedata.abouts==1}" href="javascript:;" ng-click="pagedata.abouts=1">关于我们</a>
</div>
<div ng-if="pagedata.abouts==1" class="diy-richtext" style="background: {background}; padding: 10px;">
	<h4>关于我们</h4>
	<p ng-bind-html="trust(pagedata.account.about)"></p>
	<p><div id="l-map" style="height: 250px;padding: {paddingtop}px {paddingleft}px;" ></div></p>
</div>
<div ng-if="pagedata.abouts==0" class="diy-richtext" style="background: #fff; margin: 5%;padding:10px">
	<h4>联系我们</h4>
	<p>公司名称：{{pagedata.account.cname}}</p>
	<p>公司电话：{{pagedata.account.phone}}</p>
	<p>联系QQ：{{pagedata.account.qq}}</p>
	<p>联系邮箱：{{pagedata.account.mail}}</p>
	<p>地址：{{pagedata.account.address}}</p>
	<div class="fui-btn-group col-2">
		<a class="fui-btn-col external" href="tel:{{pagedata.account.phone}}" style="margin:0;padding:5px 0;background:#f60;color:#fff">拨打电话</a>
		<a class="fui-btn-col external" href="{{pagedata.account.kflink}}"  style="margin:0;padding:5px 0;background:#333;color:#fff">在线客服</a>
	</div>
	
</div>

<script type="text/javascript">
scope.pagedata.abouts=0;
// 百度地图API功能
require(['map'], function(BMap){
	var map = new BMap.Map("l-map");
	var lng=scope.pagedata.account.naddress.lng;
	var lat=scope.pagedata.account.naddress.lat;
	var point = new BMap.Point(lng, lat);
	map.centerAndZoom(point, 15);
	// 编写自定义函数,创建标注
	function addMarker(point){
	  var marker = new BMap.Marker(point);
	  map.addOverlay(marker);
	}
	addMarker(point);
});
</script>
<div ng-include="sys_html('home/_footer',true)"></div>